Building Rest APIs with Flask: Create Python Web Services with MySQL

Building Rest APIs with Flask: Create Python Web Services with MySQL

作者: Relan Kunal
出版社: Apress
出版在: 2019-09-13
ISBN-13: 9781484250211
ISBN-10: 1484250214
裝訂格式: Quality Paper - also called trade paper
總頁數: 199 頁





內容描述


Develop RESTful web services using the Flask micro-framework and integrate them using MySQL. Use Flask to develop, deploy, and manage REST APIs with easy-to-read and understand Python code. Solve your problem from a choice of libraries. Learn to use MySQL as the web services database for your Flask API using SQLAlchemy ORM. Building REST APIs with Flask provides a primer on Flask, RESTful services, and working with pip to set up your virtual environment. The key differences between NoSQL and SQL are covered, and you are taught how to connect MySQL and Flask using SQLAlchemy. Author Kunal Relan presents best practices for creating REST APIs and guides you in structuring your app and testing REST endpoints. He teaches you how to set up authentication and render HTML using views. You learn how to write unit tests for your REST APIs, and understand mocks, assertions, and integration testing. You will know how to document your REST APIs, deploy your Flask application on all of the major cloud platforms, and debug and monitor your Flask application. What You'll LearnUse MySQL to create Flask REST APIs Test REST endpointsCreate CRUD endpoints with Flask and MySQLDeploy Flask on all of the major cloud platformsMonitor your Flask application Who This Book Is For Python developers interested in REST API development using Flask and web developers with basic programming knowledge who want to learn how Python and REST APIs work together. Readers should be familiar with Python (command line, or at least pip) and MySQL.


作者介紹


Kunal Relan is an iOS security researcher and a full-stack developer with more than four years of experience in various fields of technology including network security, DevOps, cloud infrastructure, and application development working as a consultant with startups around the globe. He is an Alibaba Cloud MVP, and author of iOS Penetration Testing (Apress) and a variety of white papers. Kunal is a technology enthusiast and an active speaker. He regularly contributes to open source communities and writes articles for Digital Ocean and Alibaba Techshare.




相關書籍

Data Analysis with SPSS: A First Course in Applied Statistics, 4/e (Paperback)

作者 Stephen A. Sweet Karen A. Grace-Martin

2019-09-13

DEEP LEARNING. APPLICATIONS with MATAB

作者 K. Taylor

2019-09-13

Artificial Intelligence for Big Data

作者 Anand Deshpande Manish Kumar

2019-09-13